Skip to content

build: bump Go to 1.27 - #197

Merged
pjbgf merged 4 commits into
mainfrom
bump-go
Aug 20, 2026
Merged

build: bump Go to 1.27#197
pjbgf merged 4 commits into
mainfrom
bump-go

Conversation

@pjbgf

@pjbgf pjbgf commented Aug 20, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 20, 2026 22:57
@pjbgf
pjbgf merged commit 5b63863 into main Aug 20, 2026
6 checks passed
@pjbgf
pjbgf deleted the bump-go branch August 20, 2026 23:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project to target Go 1.27 and adopts newer standard-library conveniences enabled by that bump, while tightening a few tests to be less environment-dependent.

Changes:

  • Bump the module’s Go version to go 1.27.0 and update tooling (golangci-lint).
  • Use newer stdlib helpers (strings.Cut, slices.Contains) and Go 1.25+ sync.WaitGroup.Go.
  • Adjust tests for embedded HostAccess fields and make runner-binary detection tests deterministic.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
internal/types/workload.go Minor refactor using strings.Cut and inline initialization of EffectiveWorkload.Name.
internal/types/workload_test.go Updates profile initializers to use promoted fields from embedded HostAccess.
internal/runners/util/container/redact_test.go Removes now-unnecessary loop-variable shadowing under newer Go range semantics.
internal/images/images.go Simplifies goroutine + waitgroup wiring with wg.Go.
internal/flatpak/flatpak.go Replaces manual loop membership check with slices.Contains.
internal/files/binaries_test.go Makes ContainerRunnerBinary test deterministic by controlling PATH.
internal/command/command.go Modernizes variadic parameter type to ...any.
hack/base.mk Bumps golangci-lint version.
go.mod Updates go directive to 1.27.0.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread internal/types/workload.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants